<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>企业税收遵从相关自然人特征及关联系分析</title>
</head>
<body>
<div class="content-wrapper">
    <h3>深度分析平台/企业税收遵从相关自然人特征及关联系分析</h3>
    <div class="row">
        <div class="panel panel-default">
            <div class="panel-heading">企业税收遵从相关自然人特征及关联系分析</div>
            <div class="panel-body">
                <div id="qysszc_chart" style="height: 490px;"></div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    require.config({
        paths: {
            echarts: '${ctx}/assets/echarts/build/dist'
        }
    });

    require(
            [
                'echarts',
                'echarts/chart/bar'
            ],
            function (ec) {
                var myChart = ec.init(document.getElementById('qysszc_chart'),'macarons');
                var placeHoledStyle = {
                    normal:{
                        barBorderColor:'rgba(0,0,0,0)',
                        color:'rgba(0,0,0,0)'
                    },
                    emphasis:{
                        barBorderColor:'rgba(0,0,0,0)',
                        color:'rgba(0,0,0,0)'
                    }
                };
                var dataStyle = {
                    normal: {
                        label : {
                            show: true,
                            position: 'insideLeft',
                            formatter: '{c}'
                        }
                    }
                };
                var qysszc_chart_option={
                    tooltip : {
                        trigger: 'axis',
                        axisPointer : {            // 坐标轴指示器，坐标轴触发有效
                            type : 'shadow'        // 默认为直线，可选为：'line' | 'shadow'
                        },
                        formatter : '{b}<br/>{a0}:{c0}%<br/>{a2}:{c2}%<br/>{a4}:{c4}%<br/>{a6}:{c6}%'
                    },
                    legend: {
                        y: 55,
                        itemGap : document.getElementById('qysszc_chart').offsetWidth / 8,
                        data:['未按规定申报', '逾期申报','偷税', '行政处罚']
                    },
                    grid: {
                        y: 80,
                        y2: 30
                    },
                    xAxis : [
                        {
                            type : 'value',
                            position: 'top',
                            splitLine: {show: false},
                            axisLabel: {show: false}
                        }
                    ],
                    yAxis : [
                        {
                            type : 'category',
                            splitLine: {show: false},
                            data : ['投资人', '负责人', '财务负责人', '办税人员']
                        }
                    ],
                    series : [
                        {
                            name:'GML',
                            type:'bar',
                            stack: '总量',
                            itemStyle : dataStyle,
                            data:[38, 50, 33, 72]
                        },
                        {
                            name:'GML',
                            type:'bar',
                            stack: '总量',
                            itemStyle: placeHoledStyle,
                            data:[62, 50, 67, 28]
                        },
                        {
                            name:'PYP',
                            type:'bar',
                            stack: '总量',
                            itemStyle : dataStyle,
                            data:[61, 41, 42, 30]
                        },
                        {
                            name:'PYP',
                            type:'bar',
                            stack: '总量',
                            itemStyle: placeHoledStyle,
                            data:[39, 59, 58, 70]
                        },
                        {
                            name:'WTC',
                            type:'bar',
                            stack: '总量',
                            itemStyle : dataStyle,
                            data:[37, 35, 44, 60]
                        },
                        {
                            name:'WTC',
                            type:'bar',
                            stack: '总量',
                            itemStyle: placeHoledStyle,
                            data:[63, 65, 56, 40]
                        },
                        {
                            name:'ZTW',
                            type:'bar',
                            stack: '总量',
                            itemStyle : dataStyle,
                            data:[71, 50, 31, 39]
                        },
                        {
                            name:'ZTW',
                            type:'bar',
                            stack: '总量',
                            itemStyle: placeHoledStyle,
                            data:[29, 50, 69, 61]
                        }
                    ]

                };
                myChart.setOption(qysszc_chart_option, true);


            })


</script>
</body>
</html>
